package com.jtpay.textpay;

import android.os.Parcel;
import android.os.Parcelable;

public class PayBean implements Parcelable {
    public int id;
    public String appid;
    public String appKey;
    public String aesKey;
    public String aesV;

    public PayBean() {

    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAesKey() {
        return aesKey;
    }

    public void setAesKey(String aesKey) {
        this.aesKey = aesKey;
    }

    public String getAesV() {
        return aesV;
    }

    public void setAesV(String aesV) {
        this.aesV = aesV;
    }

    protected PayBean(Parcel in) {
        id = in.readInt();
        appid = in.readString();
        appKey = in.readString();
        aesKey = in.readString();
        aesV = in.readString();
    }

    public static final Creator<PayBean> CREATOR = new Creator<PayBean>() {
        @Override
        public PayBean createFromParcel(Parcel in) {
            return new PayBean(in);
        }

        @Override
        public PayBean[] newArray(int size) {
            return new PayBean[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(appid);
        dest.writeString(appKey);
        dest.writeString(aesKey);
        dest.writeString(aesV);
    }
}
